package cn.gameo2o.controller.jgcx;

import javax.annotation.Resource;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import cn.gameo2o.pojo.O2o_users;
import cn.gameo2o.service.jgcx.JieGuoChaXunService;

/**结果查询
 * @author 张嘉辉
 *
 */
public class JieGuoChaXunController {
	  @Resource()
	    private JieGuoChaXunService jieGuoChaXunService;

	    public JieGuoChaXunService getStudentService() {
	        return jieGuoChaXunService;
	    }

	    public void setStudentService(JieGuoChaXunService studentService) {
	        this.jieGuoChaXunService = studentService;
	    }

    @RequestMapping("/findByname")
    public O2o_users findByname(@RequestParam(required=false) String name ){
    	O2o_users users =jieGuoChaXunService.findByname(name);
        return users;
    }

	
}
